package cn.lzj.org.service;

import cn.lzj.basic.service.IBaseService;
import cn.lzj.org.domain.Shop;
import cn.lzj.org.domain.ShopAuditLog;
import cn.lzj.org.vo.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzj
 * @since 2022-06-02
 */
public interface IShopService extends IBaseService<Shop> {

    /**
     * 店铺入驻
     * @param shop
     */
    void settlement(Shop shop);

    /**
     * 审核通过
     * @param shopAuditLog
     */
    void pass(ShopAuditLog shopAuditLog) throws MessagingException;

    /**
     *
     * @param shopAuditLog
     * @throws MessagingException
     */
    void reject(ShopAuditLog shopAuditLog) throws MessagingException;

    /**
     *报表
     * @return
     */
    List<ShopDto> echartsDatas();


    void emailpass() throws MessagingException;
}
